<layout name="page" />
<block name="content">
	<div class="main layui-clear">
		<div class="wrap">
			<div class="content" style="margin-right:0">
				<div class="fly-tab">
					<span> <a href="{:url('forum/index')}" class="tab-this">全部</a> <a href="{:url('forum/unsolved')}">未结帖</a> <a href="{:url('forum/solved')}">已采纳</a> <a href="{:url('forum/best')}">精帖</a> <a href="{:url('forum/mine')}">我的帖</a> </span>
					<form action="http://cn.bing.com/search" class="fly-search">
						<i class="iconfont icon-sousuo"></i>
						<input class="input" autocomplete="off" placeholder="搜索内容，回车跳转" type="text" name="q">
					</form>
					<a href="{:url('forum/add')}" class="layui-btn jie-add">发布问题</a>
				</div>
				<ul class="fly-list">
					<foreach name="list" key="key" val="">
						<li class="fly-list-li">
							<a href="user/home.html" class="fly-list-avatar"> <img src="http://tp4.sinaimg.cn/1345566427/180/5730976522/0" alt=""> </a>
							<h2 class="fly-tip"><a href="jie/detail.html">{$val['name']}</a><span class="fly-tip-stick">置顶</span><span class="fly-tip-jing">精帖</span></h2>
							<p>
								<span><a href="user/home.html">贤心</a></span>
								<span>刚刚</span>
								<span>layui框架综合</span>
								<span class="fly-list-hint"> <i class="iconfont" title="回答">&#xe60c;</i> 317 <i class="iconfont" title="人气">&#xe60b;</i> 6830 </span>
							</p>
						</li>
					</foreach>
				</ul>
				<!-- <div class="fly-none">并无相关数据</div> -->
				<div style="text-align: center">
					<div class="pagination">
						{$page}
					</div>
				</div>
			</div>
		</div>
	</div>
</block>
<block name="js">
	<script type="text/javascript">
		$(document).ready(function() {
			set_return_url();
		});
	</script>
</block>